#if 0
#ifndef TIMER_H
#define TIMER_H

#include "log.h"

typedef void (*function)(unsigned long);

typedef struct {
    function timer_isr;
    void *arg;
    unsigned long time_cnt;//ms
}my_timer_t;


void timer_init(int timer_num, my_timer_t *timer);
void timer_start(int timer_index);
void timer_stop(int timer_index);
void change_timer(int timer_index, unsigned long expires);






#endif
#endif